package com.qfhd.soft.cjzcore.UI.MulitRecycle.bean;

import android.content.Context;

import com.qfhd.soft.cjzcore.Model.Task_image_submit_model;
import com.qfhd.soft.cjzcore.UI.Listener.CJTaskImageListener;
import com.qfhd.soft.cjzcore.UI.MulitRecycle.decorate.Visitable;
import com.qfhd.soft.cjzcore.UI.MulitRecycle.factory.TypeFactory;


public class Task_image_submit_bean implements Visitable {
    Task_image_submit_model model;
    Context mContext;
    CJTaskImageListener listener;

    public Task_image_submit_bean (Task_image_submit_model model, Context context, CJTaskImageListener listener){
        this.model = model;
        this.mContext = context;
        this.listener = listener;
    }

    public Task_image_submit_model getModel(){
        return model;
    }

    public Context getmContext(){
        return mContext;
    }

    public CJTaskImageListener getListener(){
        return listener;
    }

    @Override
    public int type(TypeFactory typeFactory) {
        return typeFactory.type(this);
    }
}
